import Axios from '@/utils/request';

/**
 * 查询条目
 */
export function queryEntry(data: any) {
    return Axios.post('/diffEntry/queryEntry', data);
}

/**
 * 编辑sql
 * @param data 
 * @returns 
 */
export function editEntryBranchSql(data: any) {
    return Axios.post('/diffEntry/editEntryBranchSql', data);
}


export function queryEntryBranchSql(data: any) {
    return Axios.post('/diffEntry/queryEntryBranchSql', data);
}
/**
 * 执行sql
 * @param data 
 * @returns 
 */
export function execEntryBranchSql(data: any) {
    return Axios.post('/diffEntry/execEntryBranchSql', data);
}
/**
 * 
 * @returns 生成batchNo
 */
export function generateBatchNo() {
    return Axios.get('/diffEntry/generateBatchNo');
}

/**
 * 比对明细
 * @returns 
 */
export function diffEntryBranchSqlResult(data: any) {
    return Axios.post('/diffEntry/diffEntryBranchSqlResult', data);
}